module D{
    export class UserData extends PlayerData{
        /** 账号 */
        public account:string;

        /** 登录成功返回的消息 */
        public login(e:egret.Event):void{
            let d = e.data;
            
            this.gameScore = parseInt(d.dwFortuneCoin);
            this.account = d.accounts;

            this.userID = d.dwUserID;
            this.nickName = d.nickname;
            this.faceID = d.wFaceID;
            this.gender = d.cbGender;

            RES.loadGroup("public_cards");
        }
    }
}